package cn.edu.tju.cas.dao;

import cn.edu.tju.cas.entity.UserEntity;

import java.util.List;

/**
 * Created by catold on 16/2/20.
 */
public interface UserDao extends BaseDao<UserEntity>{
    UserEntity findByUsername(String username);

    List<UserEntity> findByAdminType(int isAdmin);

    UserEntity finByIdCard(String idCard);

    List<Integer> findUserIds();

}
